Graphic Layer Schema
GRADIENTFILL Element
See Also  Send comments on this topic.
Graphic Layer Schema : GRADIENTFILL Element

Glossary Item Box

Description

Used to define the gradient fill in a complex polygon symbol.

Diagram

COLORRAMP Element Sequence GRADIENTFILL Element

Overview

GRADIENTFILL
Used to define the gradient fill in a complex polygon symbol.
angle optional Restriction of xs:double
Direction of fill gradient in degrees clockwise.
gradienttype optional Restriction of xs:string
The shape of the gradient.
intervals optional Restriction of xs:int
Number of colors used in the gradient
percentage optional Restriction of xs:int
The saturation distribution between the colors. Controls the bleeding effect of the fill.
Sequence
COLORRAMP
Used to define the color ramp in a gradient fill complex polygon symbol.

Attributes

NameTypeUseDefaultFixedDescription
angleRestriction of xs:doubleoptional0.0 Direction of fill gradient in degrees clockwise.
gradienttypeRestriction of xs:stringoptionallinear The shape of the gradient.
intervalsRestriction of xs:intoptional5 Number of colors used in the gradient
percentageRestriction of xs:intoptional75 The saturation distribution between the colors. Controls the bleeding effect of the fill.

Examples

ArcPad stylesheet file (*.aps).

Source

<xs:element name="GRADIENTFILL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define the gradient fill in a complex polygon symbol.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="COLORRAMP" />
    </xs:sequence>
    <xs:attribute default="0.0" name="angle">
      <xs:annotation>
        <xs:documentation>Direction of fill gradient in degrees clockwise.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:double">
          <xs:minInclusive value="0.0" />
          <xs:maxInclusive value="360.0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="linear" name="gradienttype">
      <xs:annotation>
        <xs:documentation>The shape of the gradient.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="linear" />
          <xs:enumeration value="rectangular" />
          <xs:enumeration value="circular" />
          <xs:enumeration value="buffered" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="5" form="unqualified" name="intervals">
      <xs:annotation>
        <xs:documentation>Number of colors used in the gradient</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="75" name="percentage">
      <xs:annotation>
        <xs:documentation>The saturation distribution between the colors. Controls the bleeding effect of the fill.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1" />
          <xs:maxInclusive value="100" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.